package com.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.dto.UserDTO;
import com.mall.dto.UserPasswordDTO;
import com.mall.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TwoSugar
 * @since 2022-05-26
 */
public interface IUserService extends IService<User> {

    /**
     * 登录
     * @param userDTO
     * @return
     */
    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);
}
